﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace AjaxToolkitDemo
{
    public partial class UpdateProgressTest : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            Button1.Click += new EventHandler(Button1_Click);
        }

        void Button1_Click(object sender, EventArgs e)
        {
            System.Threading.Thread.Sleep(3000);

            Label1.Text = TextBox1.Text + " was submited in " + DateTime.Now.ToString();
        }
    }
}
